import "./MyButton.css";
const MyButton = ({ ref, className, disabled, type, children, onClick }) => {
  return (
    <button
      ref={ref}
      disabled={disabled}
      onClick={onClick}
      className={("my-button my-button-" + type ?? "") + " " + className ?? ""}
    >
      {children}
    </button>
  );
};

export default MyButton;
